PackageImportException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the PackageImportException class with serialized data.

Parent Type: PackageImportException

Namespace: Microsoft.LearningComponents.Storage

Assembly: Microsoft.LearningComponents.Storage.dll

Syntax
C#

protected PackageImportException (
SerializationInfo serializationInfo,
StreamingContext context

)

Parameters

serializationInfo

The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

context

The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination